package cn.mesmile.nacos.model;

import cn.mesmile.nacos.dto.Datas;
import cn.mesmile.nacos.dto.StatisticalResults;

import java.util.List;

/**
 * @author zb
 * @date 2021/6/18 23:36
 * @Description:
 */
public abstract class  Strategy {

    /**
     * 获取统计结果
     * @param dataList
     * @return
     */
    abstract StatisticalResults getStatisticsResult (List<Datas> dataList);

}
